package com.fy56.platform.logistics.model;

import com.fy56.platform.logistics.common.AbstractModel;

public class UserCompany extends AbstractModel {
    /**
     * 租户id
     */
    private Long companyId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 是否是默认
     */
    private Integer isDefault;

    /**
     *
     * @mbggenerated 2018-03-30
     */
    public UserCompany() {
        super();
    }

    /**
     * 租户id
     * @return companyId 租户id
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * 租户id
     * @param companyId 租户id
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * 用户id
     * @return userId 用户id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 用户id
     * @param userId 用户id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 是否是默认
     * @return isDefault 是否是默认
     */
    public Integer getIsDefault() {
        return isDefault;
    }

    /**
     * 是否是默认
     * @param isDefault 是否是默认
     */
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
}